// 对外暴露路由配置(常量路由)
export const constantRoute = [
  {
    path: '/',
    name: 'home',
  },
  {
    path: '/user/login',
    name: '用户登录',
    component: () => import('@/views/user/UserLoginPage.vue'),
  },
  {
    path: '/user/register',
    name: '用户注册',
    component: () => import('@/views/user/UserRegisterPage.vue'),
  },
  {
    path: '/admin/user/m  anage',
    name: '用户管理',
    component: () => import('@/views/admin/UserManagePage.vue'),
  },
]

// 任意路由
export const anyRoute = {
  name: 'any',
  path: '/:pathMatch(.*)*',
  redirect: '/404',
  meta: {
    title: '任意路由',
    hidden: true,
    icon: 'Compass',
  },
}
